<!--%import("js/widget.js")-->
<!--%import("css/widget.css")-->

<div id="popHeader" class="wide">
    <h3 class="xeAdmin">{$lang->cmd_content_insert}</h3>
</div>

<form action="./" method="get" onsubmit="return addContentWidget(this); return false;" id="content_fo">
<input type="hidden" name="content" value="{$oDocument->getContentText()}" />
<input type="hidden" name="mid" value="{$module_info->mid}" />
<input type="hidden" name="module_srl" value="{$module_srl}" />
<input type="hidden" name="document_srl" value="{$document_srl}" />
<input type="hidden" name="style" value="float:left;padding:none;margin:none;width:100%;" />
<input type="hidden" name="widget_padding_left" value="" />
<input type="hidden" name="widget_padding_right" value="" />
<input type="hidden" name="widget_padding_top" value="" />
<input type="hidden" name="widget_padding_bottom" value="" />

<div id="popBody">
    <div class="pageAddContent"></div>

        <div class="editor">
            {$editor}
        </div>

    <script type="text/javascript">
        xAddEventListener(window, 'load', doSyncPageContent);
    </script>
</div>

<div id="popFooter">
    <span class="button black strong"><input type="submit" value="{$lang->cmd_save}" class="editor_button" accesskey="s" /></span>
</div>

</form>
